cmake_minimum_required(VERSION 3.10)
project(ConvNeuralNetworkTest)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(ConvNeuralNetworkTest
    test_main.cpp
)

target_include_directories(ConvNeuralNetworkTest PRIVATE ../include
                                                         ../../common/include
)

# Link directories
target_link_directories(ConvNeuralNetworkTest PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)

target_link_libraries(ConvNeuralNetworkTest PRIVATE ConvNeuralNetwork)

# Register the test with CTest
add_test(NAME ConvNeuralNetworkTest COMMAND ConvNeuralNetworkTest)